<!-- test case for issue 29
should have the following DOM:
html
  head
  body
    b
      p
        b
      p
        b
          a
-->
<b>
  <p>
  <b>
    <b>
      <p>
      <a href="199">link</a>
